12. Quiz: Gather (Import)
Gather: Import
Gather: Import
Quiz
Import the extracted CSV file into a pandas DataFrame. Here is the
read_csv
documentation
for reference.
Workspace
This section contains either a workspace (it can be a Jupyter Notebook workspace or an online code editor work space, etc.) and it cannot be automatically downloaded to be generated here. Please access the classroom with your account and manually download the workspace to your local machine. Note that for some courses, Udacity upload the workspace files onto https://github.com/udacity , so you may be able to download them there.
Workspace Information:
- Default file path:
- Workspace type: jupyter
- Opened files (when workspace is loaded): n/a
Quiz: Import
QUESTION:
Get your code to work in the Jupyter Notebook above, then fill in the
file
parameter of pandas'
read_csv
function in the text box below.
SOLUTION:
NOTE: The solutions are expressed in RegEx pattern. Udacity uses these patterns to check the given answer
Solution
Gather: Import Solution
More Information
-
pandas course:
- If you're part of the Data Analyst Nanodegree, the pandas course is in Term 1 ( Intro to Data Analysis ).
- The old version of Udacity's pandas course is here .
- DigitalOcean: Aliasing Modules
- Stack Overflow: Can you define aliases for imported modules in Python?